|
|
8.3 | Troubleshooting VLANs | ||
| 8.3.4 | Troubleshooting VLANs |
| The
show
and debug
commands can be extremely useful when troubleshooting VLANs. Figure
To troubleshoot the operation of Fast Ethernet router connections to switches, it is necessary to make sure that the router interface configuration is complete and correct. Verify that an IP address is not configured on the Fast Ethernet interface. IP addresses are configured on each subinterface of a VLAN connection. Verify that the duplex configuration on the router matches that on the appropriate port/interface on the switch. The
show vlan
command displays the VLAN information on the switch.
Figure The CatOS show vlan
keyword options and keyword syntax descriptions of each field are also
shown. The show vlan displays information about that VLAN on the router. The show vlan command followed by the VLAN number displays specific information about that VLAN on the router. Output from the command includes the VLAN ID, router subinterface, and protocol information. The
show spanning-tree
command displays the spanning-tree topology known to the
router. The first part of the
show spanning-tree output lists global spanning
tree configuration parameters, followed by those that are specific to
given interfaces.
The following lines of output show the current operating parameters of the spanning tree:
The following line of output shows that the router is the root of the spanning tree:
Key information from the show spanning-tree command creates a map of the STP network. The debug sw-vlan packets command displays general information about VLAN packets received but not configured to support the router. VLAN packets that the router is configured to route or switch are counted and indicated when using the show sw-vlan command.
|